# -*- coding: utf-8 -*-
import numpy as np
import pandas as pd
if __name__ == '__main__':
    # 通过ndarray构建DataFrame
    array = np.random.randn(5, 4)
    print array
    frame = pd.DataFrame(array)
    print frame